package com.gzy.xuexiziliao.service;

import com.gzy.xuexiziliao.common.result.PageResult;
import com.gzy.xuexiziliao.pojo.entity.Doctor;
import com.gzy.xuexiziliao.pojo.entity.Information;

import java.time.LocalDate;
import java.util.List;

public interface InformationService {

    Information save(Information information);

    void update(Information information);

    void delete(List<Integer> ids);

    List<Information> getBycategoryId(Integer id);

    PageResult page(Integer page, Integer pageSize, String name, Short gender, LocalDate begin, LocalDate end);


    Information getBYTitle(Information information);

    List<Information> getcategoryId(Integer categoryid);

    List<Doctor> getstatus(Integer id);

    Information getBYInformationId(int informationId);
}
